home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / 273_01.zip / CURLF.CC < prev    next >
Text File  |  1993-04-04  |  318b  |  14 lines

  1. cur_lf()
  2. /* Move the cursor one col to the left */
  3. {
  4.         int cur_row, cur_col;
  5.         get_cur(&cur_row,&cur_col);
  6.         cur_col--;
  7.         if(cur_col<0) {
  8.                 cur_row--;
  9.                 cur_col=79;
  10.                 if(cur_row<0) cur_row=24;
  11.         }
  12.         locate(cur_row,cur_col);
  13. }
  14.